﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SportsPlatform.Base;
using SportsPlatform.Query.SportBusiness.AchievementOverPointInfo;
using SportsPlatform.Dto.SportBusiness.AchievementOverPointInfo;

namespace SportsPlatform.SportBusiness.ISportBusiness
{
    /// <summary>
    /// 成绩过点记录接口
    /// </summary>
    public interface IAchievementOverPointInfoService
    {
        /// <summary>
        /// 新增成绩过点记录信息
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        Task<BaseResultDto> AddAchievementOverPointInfo(AddAchievementOverPointInfoQuery query);

        /// <summary>
        /// 分页获取成绩过点记录信息
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        Task<PagePagingDto<AchievementOverPointInfoDto>> GetAchievementOverPointInfo(GetAchievementOverPointInfoPageQuery query);

        /// <summary>
        /// 更新成绩过点记录是否有效
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        Task<BaseResultDto> UpdateAchievementOverPointInfoIsValid(UpdateAchievementOverPointInfoIsValidQuery query);

        /// <summary>
        /// 成绩过点记录信息同步
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        Task<BaseResultDto> OverPointInfoSynchronization(List<OverPointInfoSynchronizationQuery> query);
    }
}
